Optimal. Leaf size=53 \[ -\frac {\left (a+b \left (c x^q\right )^n\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {b \left (c x^q\right )^n}{a}+1\right )}{a n (p+1) q} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {370, 266, 65} \[ -\frac {\left (a+b \left (c x^q\right )^n\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {b \left (c x^q\right )^n}{a}+1\right )}{a n (p+1) q} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 266
Rule 370
Rubi steps
\begin {align*} \int \frac {\left (a+b \left (c x^q\right )^n\right )^p}{x} \, dx &=\operatorname {Subst}\left (\int \frac {\left (a+b c^n x^{n q}\right )^p}{x} \, dx,x^{n q},c^{-n} \left (c x^q\right )^n\right )\\ &=\operatorname {Subst}\left (\frac {\operatorname {Subst}\left (\int \frac {\left (a+b c^n x\right )^p}{x} \, dx,x,x^{n q}\right )}{n q},x^{n q},c^{-n} \left (c x^q\right )^n\right )\\ &=-\frac {\left (a+b \left (c x^q\right )^n\right )^{1+p} \, _2F_1\left (1,1+p;2+p;1+\frac {b \left (c x^q\right )^n}{a}\right )}{a n (1+p) q}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 53, normalized size = 1.00 \[ -\frac {\left (a+b \left (c x^q\right )^n\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {b \left (c x^q\right )^n}{a}+1\right )}{a n (p+1) q} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.81, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (\left (c x^{q}\right )^{n} b + a\right )}^{p}}{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (\left (c x^{q}\right )^{n} b + a\right )}^{p}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F(-1)] time = 180.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \left (c \,x^{q}\right )^{n}+a \right )^{p}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (\left (c x^{q}\right )^{n} b + a\right )}^{p}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\left (a+b\,{\left (c\,x^q\right )}^n\right )}^p}{x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b \left (c x^{q}\right )^{n}\right )^{p}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________